﻿@{
	var pageInfo = ViewBag.UrlPageInfo as UrlPageInfo;


	if (pageInfo != null)
	{
		if (!string.IsNullOrEmpty(pageInfo.PageTitle))
		{
			ViewBag.PageTitle = pageInfo.PageTitle;
		}


		if (!string.IsNullOrEmpty(pageInfo.MetaKeyword))
		{
			ViewBag.MetaKeyword = pageInfo.MetaKeyword;
		}
		if (!string.IsNullOrEmpty(pageInfo.MetaDescription))
		{
			ViewBag.MetaDescription = pageInfo.MetaDescription;
		}
        if (!string.IsNullOrEmpty(pageInfo.MetaRobots))
        {
            ViewBag.MetaRobots = pageInfo.MetaRobots;
        }
	}
	
}
<title>@ViewBag.PageTitle</title>
<meta name="KEYWORDS" content="@ViewBag.MetaKeyword" />
<meta name="DESCRIPTION" content="@ViewBag.MetaDescription" />
<meta name="ROBOTS" content="@ViewBag.MetaRobots" />